#gmid {
    display: flex;
    #gd3,
    #gd4 {
        flex: none;
    }
    #gd5 {
        flex: auto;
        width: auto;
    }
}

div#gd5 {
    z-index: 3;
    position: relative;
    #ehs-introduce-box img {
        margin: 0;
        width: auto;
        height: auto;
    }
}

#ehs-introduce-box {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0;
    right: -5px;
    overflow: auto;
    background: #edebdf;
    text-align: left;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 5px 0;

    .ehs-title {
        flex: none;
        margin: 0 8px;
        border-bottom: 1px solid #5c0d12;
        line-height: 14px;
        padding: 3px 0;
        display: flex;
        flex-direction: row;

        .ehs-cn {
            font-weight: bold;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .ehs-en {
            opacity: 0.7;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        > div {
            overflow: hidden;
            flex: auto;
        }
        > span {
            overflow: hidden;
            flex: none;
        }
    }
    .ehs-close {
        cursor: pointer;
        font-size: 16px;
        opacity: 0.8;
        line-height: 28px;
        width: 20px;
        text-align: center;
        &:hover {
            opacity: 1;
        }
    }
    .ehs-content {
        flex: auto;
        overflow: auto;
        padding: 8px;
        &::-webkit-scrollbar {
            width: 2px;
        }
        abbr[title] {
            padding: 0 1px;
            &::after {
                content: ' (' attr(title) ')';
                font-size: 90%;
            }
        }
    }
    .ehs-href {
        flex: none;
        border-top: 1px solid #5c0d12;
        margin: 0 8px;
        line-height: 24px;
        &:empty {
            display: none;
        }
    }

    &:empty {
        display: none;
    }
    img {
        max-width: 100%;
    }
}

body.ex {
    #ehs-introduce-box {
        background: #4f535b;
        .ehs-title {
            border-bottom: 1px solid #000;
        }
        .ehs-href {
            border-top: 1px solid #000;
        }
    }
}

.ehs-no-translation {
    text-align: center;
    padding-top: 80px;
    .text {
        font-size: 16px;
        opacity: 0.3;
        padding: 8px;
        font-weight: bold;
    }
}
.ehs-no-intro {
    text-align: center;
    padding-top: 88px;
    font-size: 16px;
    opacity: 0.3;
    font-weight: bold;
}

//0:hide, 1:non-h 2: R18 3: R18G
/* nsfw="R18" */
body.ehs-image-level-0 #ehs-introduce-box .ehs-content {
    img {
        display: none;
    }
}
body.ehs-image-level-1 #ehs-introduce-box .ehs-content {
    img[nsfw] {
        display: none;
    }
}
body.ehs-image-level-2 #ehs-introduce-box .ehs-content {
    img[nsfw='R18G'] {
        display: none;
    }
}
body.ehs-image-level-3 {
    // 所有都显示
}
